package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工程文件对象 sys_engineering_file
 *
 * @author ruoyi
 * @date 2025-08-29
 */
@Data
public class SysEngineeringFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件ID */
    private Long fileId;

    /** 工程项目ID */
    @Excel(name = "工程项目ID")
    private Long projectId;

    private String projectName;

    /** 建设状态 */
    @Excel(name = "建设状态")
    private String constructionStatus;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String fileType;

    /** 文件URL */
    @Excel(name = "文件URL")
    private String fileUrl;

    public void setFileId(Long fileId)
    {
        this.fileId = fileId;
    }

    public Long getFileId()
    {
        return fileId;
    }

    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public void setConstructionStatus(String constructionStatus)
    {
        this.constructionStatus = constructionStatus;
    }

    public String getConstructionStatus()
    {
        return constructionStatus;
    }

    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileType()
    {
        return fileType;
    }

    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("projectId", getProjectId())
            .append("constructionStatus", getConstructionStatus())
            .append("fileType", getFileType())
            .append("fileUrl", getFileUrl())
            .toString();
    }
}
